﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Board.aspx.cs"  Inherits="iSun.Web.forum.Board" MasterPageFile="~/forum/forum.Master"  %>
<asp:Content ContentPlaceHolderID="Top" ID="pageTop" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="head" ID="pageHead" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="Content" ID="pageContent" runat="server">
<%
    iSun.BLL.Extend.BaseBussnies bll = new iSun.BLL.Extend.BaseBussnies();
    System.Data.DataTable dt = bll.GetDataBySqlComm("select * from forumBoard order by Sort");
    %>
    <table style="width:100%">
    <tr><td>功能模块</td><td>说明</td></tr>
    <%
    foreach(System.Data.DataRow row in dt.Rows)
    {
        string BoardName = row.ItemArray[1].ToString();
        string Notes = row.ItemArray[2].ToString();
        string id = row.ItemArray[0].ToString();
        %>
        <tr><td><a href="Thread.aspx?boardID=<% =id %>"><%=BoardName %></a></td><td><% = Notes %></td></tr>
        <%
    }
 %></table>
</asp:Content>
